adding warning in case result is outside of queried period