Corrected bug. If statement was empty.