Fixed incorrect placement of if block
1 file changed