Fixing issue with every problem being calculated, even though their function wasn't being called.