Fixed NullPointerException in FunctionalArrayList