Fixing empty() elements on page list