Fixes minor nesting issue