Fixed a bug with pop checking. Also the pop checking works on higher performance as well.