Allow fetching of next exercise when you have hibernating submissions #1372

Here's my attempt at fixing this.