Fix incorrectly returning 304 when if-none-match header was not sent.