Removed a null check in my subsequent commit by using a continue statement when null.