Removed this optimisation because it was stopping fixes working for STDIN