Moved pseduorating check to preprocessor