There was a bug in moveActiveRecordingsToFront, which caused the models to rotate their positions Also some refactoring to reduce method complexity.