Fixes for Pep8 Pylint violation and failing test of realtime.

@ismailsunni: Note that we will do the age ratio validation if it's an postprocessing layer (already checked in accept method, no need to check it on this function again - it violates pylint as it should return tuple)