Fix for constant application enqueuing bug