Fix for the issue #634 by checking that we load the styles on non singular and non pages views