Return when block argument error

Fixes a segfault when this situation happens.