patch corrected for case mentioned by WhaleWatching

Signed-off-by: A V Minhaz <minhazav@gmail.com>